#include "mainwindow.h"
#include "ui_mainwindow.h"
#include "subwindow.h"
#include "studycomponent.h"

MainWindow::MainWindow(QWidget *parent)
    : QMainWindow(parent)
    , ui(new Ui::MainWindow)
{
    ui->setupUi(this);
//    SubWindow* subWindow = new SubWindow((this));
//    subWindow->setParent(this);
//    subWindow->show();

    StudyComponent* sc = new StudyComponent(this);
    sc->show();
}

MainWindow::~MainWindow()
{
    delete ui;
}

